package puzzle.masyu2.imgreader;

import java.io.IOException;

import puzzle.common.imgreader.GenericImgReaderApp;
import puzzle.common.imgreader.ImgPattern;
import puzzle.common.imgreader.ImgPatterns;

public class MasyuImgReaderApp extends GenericImgReaderApp {
	private static final ImgPattern[] PATTERNS = new ImgPattern[] {
		ImgPatterns.SHIROMARU1,
		ImgPatterns.SHIROMARU2,
		ImgPatterns.KUROMARU
	};
	
	private static final String DATA_SYMBOLS = "0112";
	private static final String VISIBLE_SYMBOLS = " OOX";
	
	public MasyuImgReaderApp() {
		super(PATTERNS, DATA_SYMBOLS, VISIBLE_SYMBOLS);
	}

	public static void main(String[] args) throws IOException {
		MasyuImgReaderApp app = new MasyuImgReaderApp();
		app.run(args);
	}
}
